package com.qf.contract.mapper;

import com.github.yulichang.base.MPJBaseMapper;
import com.qf.contract.entity.FContractPayment;
import org.apache.ibatis.annotations.Update;

import java.util.List;

public interface FContractPaymentMapper extends MPJBaseMapper<FContractPayment> {
    int updateBatch(List<FContractPayment> list);

    /**
     * 数据恢复
     * 需传入用户id
     */
    @Update("update f_contract_payment set payment_status = #{paymentStatus}")
    int dataRecovery(int fContractPayment);
}